<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <script src="../vue.js"></script>
</head>

<body>
  <div id="app">
    <form action="###">
      请选择喜欢的城市
      <select name="city" v-model="likeCity">
        <option value="内蒙">内蒙</option>
        <option value="西南">西南</option>
        <option value="湖南">湖南</option>
      </select>

      请选择喜欢的食物
      <select name="food" multiple v-model="likeFood">
        <option value="豆皮">豆皮</option>
        <option value="凉面">凉面</option>
        <option value="牛肉面">牛肉面</option>
      </select>
    </form>
  </div>
  <script>
    Vue.config.productionTip = false;

    const vm = new Vue({
      el: "#app",
      data() {
        return {
          likeCity: "",
          likeFood: []
        }
      }
    })
  </script>
</body>

</html>